export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/detail/index',
    'pages/classification/index',
    'pages/find/index',
    'pages/cart/index',
    'pages/my/index'
  ],
  tabBar: {
    color: '#515151',
    selectedColor: '#EEB174',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'assets/icons/home.png',
        selectedIconPath: 'assets/icons/selected_home.png'
      },
      {
        pagePath: 'pages/classification/index',
        text: '分类',
        iconPath: 'assets/icons/classification.png',
        selectedIconPath: 'assets/icons/selecteds.png'
      },
      {
        pagePath: 'pages/find/index',
        text: '发现',
        iconPath: 'assets/icons/find.png',
        selectedIconPath: 'assets/icons/selected_find.png'
      },
      {
        pagePath: 'pages/cart/index',
        text: '购物车',
        iconPath: 'assets/icons/cart.png',
        selectedIconPath: 'assets/icons/selected_cart.png'
      },
      {
        pagePath: 'pages/my/index',
        text: '我的',
        iconPath: 'assets/icons/user.png',
        selectedIconPath: 'assets/icons/selected_user.png'
      }
    ]
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  }
})
